<template>
    <div class="header-wrap">
        <div class="header">
            <div class="close-arrow">
                <router-link to="/">
                    <span class="iconfont">&#xe734;</span>
                </router-link>
            </div>
            <div class="title">
                登录B乎
            </div>
            <div class="sub-title">
                发现更多可信赖的解答
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: 'register-header'
}
</script>

<style lang = 'less' scoped>
    @import '../../../assets/styles/common.less';
    .header-wrap{
        background-color: #fff;
        color: #fff;
        font-size: 16rem/@baseFont;
        .header{
            height:108rem / @baseFont;
            background-color: #0084ff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 8rem/@baseFont 16rem/@baseFont 16rem/@baseFont 16rem/@baseFont;
            .close-arrow{
                font-size: 26rem/@baseFont;
                align-self: flex-end;
                a{
                    color: #fff;
                }
            }
            .title{
                font-size: 25rem / @baseFont;
                margin: 5rem/@baseFont 0;
            }
            .sub-title{
                margin: 5rem/@baseFont 0;
            }
        }
    }
    
</style>